﻿<?xml version="1.0" encoding="utf-8" ?>

<Rules FriendlyName="Bovespa Naming Rules">
  
  <Rule TypeName="BovespaArrayCollectionNamesPlural" Category="BovespaArrayCollectionNamesPlural" CheckId="BOV3001">
    <Name>Plural for arrays and collections</Name>
    <Description>Plural for arrays and collections</Description>
    <Url></Url>
    <Resolution Name="BovespaArrayCollectionNamesPluralResolution1"> Use plural to arrays and collections. Variable: {0}</Resolution>
    <Resolution Name="BovespaArrayCollectionNamesPluralResolution2"> Use plural to arrays and collections. Variable: {0}. Class: {1}. Namespace: {2}</Resolution>
    <MessageLevel Certainty="100">Error</MessageLevel>
    <Email></Email>
    <FixCategories>Breaking</FixCategories>
    <Owner>BMFBovespa</Owner>
  </Rule>

  <Rule TypeName="BovespaAvoidLongMethodNames" Category="BovespaAvoidLongMethodNames" CheckId="BOV3001">
    <Name>Avoid to use too long method names</Name>
    <Description>Avoid to use too long method names</Description>
    <Url></Url>
    <Resolution Name="BovespaAvoidLongMethodNamesResolution">Avoid to use too long method names. Max Length: {3}. Method: {0}. Class: {1}. Namespace: {2}</Resolution>
    <MessageLevel Certainty="100">Error</MessageLevel>
    <Email></Email>
    <FixCategories>Breaking</FixCategories>
    <Owner>BMFBovespa</Owner>
  </Rule>

  <Rule TypeName="BovespaAvoidLongVariableNames" Category="BovespaAvoidLongVariableNames" CheckId="BOV3001">
    <Name>Avoid to use too long variable names</Name>
    <Description>Avoid to use too long variable names</Description>
    <Url></Url>
    <Resolution Name="BovespaAvoidLongVariableNamesResolution1">Avoid to use too long variable names. Max Length: {1}. Variable: {0}</Resolution>
    <Resolution Name="BovespaAvoidLongVariableNamesResolution2">Avoid to use too long variable names. Max Length: {3}. Variable: {0}. Class: {1}. Namespace: {2}</Resolution>
    <MessageLevel Certainty="100">Error</MessageLevel>
    <Email></Email>
    <FixCategories>Breaking</FixCategories>
    <Owner>BMFBovespa</Owner>
  </Rule>
  
</Rules>